package com.coderising.download.api;

public interface ConnectionManager {
	/**
	 * 给定一个url , 打开一个连接
	 * @param url
	 * @return
	 */
	//public Connection open(String url) throws ConnectionException;

	public int getContentLength(String url);

	Connection open(String url, int startPos, int endPos)
			throws ConnectionException;	
}
